import { createApp } from 'vue'
import { createPinia } from 'pinia'
import store from "./stores"

import App from './App.vue'
import router from './router'

// 引入element-plus组件库
import ElementPlus from 'element-plus'
// element-plus的全局样式
import 'element-plus/dist/index.css'

import './assets/main.css'

const app = createApp(App)

app.use(createPinia())
app.use(router)

// 注册element-plus组件库
app.use(ElementPlus)
app.use(store);

app.mount('#app')
